Hello -
I made several attempts to create a single Team using the V2 RESTApi, but unable to do so.
My curl statement is :
curl -X POST --header ‘Accept: application/vnd.pagerduty+json;version=2’ --header ‘Authorization: Token token=’ -d ‘{“team”: {“type”: “team”, “name” : “teamname”}}’ ‘https://api.pagerduty.com/teams’
please help!!